package com.foreknow.service;

import com.foreknow.model.Admin;

import java.sql.SQLException;

public interface AdminService  {
    /**
     * 验证登录
     * @param username
     * @param password
     * @return
     */
    public Admin isValidate (String username ,String password) ;

    /**
     * 查询账号
     * @param username
     * @return
     */
    public boolean getUsernmaeByUser(String username);
}
